﻿<UserControl x:Class="MContracts.View.SimpleMoneyViewer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel x:Name="aligmentStackPanel" Background="LightGray">
        <StackPanel.Resources>
            <Style x:Key="MoneyText" TargetType="Label">
                <Setter Property="Foreground" Value="Black"></Setter>
                <Setter Property="FontWeight" Value="Bold"></Setter>
            </Style>
        </StackPanel.Resources>
        <Label Margin="5,10,0,0" Content="{Binding Path=PricePure}" Style="{StaticResource MoneyText}"/>
        <Label Margin="5,10,0,0" Content="{Binding Path=PriceNds}" Style="{StaticResource MoneyText}"/>
        <Label Margin="5,10,0,0" Content="{Binding Path=PriceWithNds}" Style="{StaticResource MoneyText}"/>
    </StackPanel>
</UserControl>
